/*
 * request.h
 *
 * Represents a i/o request with a step and a request type.
 *
 *  Created on: Mar 3, 2012
 *  Author: Allison Graham
 */

#ifndef REQUEST_H_
#define REQUEST_H_

#include "enum_request_type.h"

typedef struct request_str{
	int step; //The step to throw the io request.
	request_type type_of_request;
}request;

//********************************************************************
//Method Headers
//********************************************************************
request* create_request(int the_step, enum request_type type_of_request);
request* destroy_request(request* the_request);

#endif /* REQUEST_H_ */
